<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>党费添加页面</title>
    <link rel="stylesheet" href="./../../yl/index.css" />
    <!-- 布局样式 -->
    <link rel="stylesheet" href="../../yl/style.css" />
    <link rel="stylesheet" href="../../yl/mobile.css" />
    <link rel="stylesheet" href="../../yl/easyui.css" />
    <link rel="stylesheet" href="../../yl/icon.css" />
    <style>
        .el-input-number .el-input__inner{
            text-align:left;
        }
    </style>
</head>

<body>
    <!-- <div id="app"> -->
    <div class="easyui-navpanel" id="app">
        <header>
            <div class="m-toolbar">
                <div class="m-title">添加上缴党费信息</div>
            </div>
        </header>
        <div class="easyui-navpanel panel-body panel-body-nobottom panel-body-noborder" style="height: 3000px"
            id="MainTable" ref="MainTable"
            :data-options="JSON.stringify({ 'TableName': 'party_fees_hand_over', 'form': 'dataForm' ,'primary_key':'Party_Fee_Hand_Over_SerialNumber'})">
            <div class="yl-main">
                <div class="table_titel">
                    <div class="titel">上缴党费信息</div>
                </div>
                <el-form :model="dataForm" ref="form" :inline-message="true" style="width: 100%">
                    <el-descriptions :column="1" size="large" border>
                        <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">党组织</div>
                            </template>
                            <el-form-item prop="Party_Organization_SerialNumber" :rules="[{ required: true, message: '请选择党组织', trigger: 'change' }]">
                                <el-select disabled v-model="dataForm.Party_Organization_SerialNumber" placeholder="请选择党组织" style="width: 100%;" size="large">
                                    <el-option v-for="item in Organization" :key="item.Party_Organization_SerialNumber"
                                        :label="item.Party_Organization_Name" :value="item.Party_Organization_SerialNumber" />
                                </el-select>
                            </el-form-item>
                        </el-descriptions-item>
                        <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">上缴党费日期</div>
                            </template>
                            <el-form-item prop="Fee_Hand_Over_Date" :rules="[{ required: true, message: '请输入上缴党费日期', trigger: 'change' }]">
                                <el-date-picker v-model="dataForm.Fee_Hand_Over_Date" format="YYYY-MM-DD" value-format="YYYY-MM-DD"
                                    class="borderless-input" type="date" placeholder="请选择上缴党费日期" size="large" />
                            </el-form-item>
                        </el-descriptions-item>
                        <!-- <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">本月已缴党员人数</div>
                            </template>
                            <el-form-item>
                                <el-input disabled class="borderless-input" :value="dataForm1.total1+'人'" placeholder="已缴人数" />
                            </el-form-item>
                        </el-descriptions-item>
                        <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">本月应缴党员人数</div>
                            </template>
                            <el-form-item>
                                <el-input disabled class="borderless-input" :value="dataForm1.total+'人'" placeholder="应缴人数" />
                            </el-form-item>
                        </el-descriptions-item>
                        <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">已记录本月缴纳党员人数</div>
                            </template>
                            <el-form-item>
                                <el-input disabled class="borderless-input" :value="dataForm1.total2+'人'" placeholder="应缴人数" />
                            </el-form-item>
                        </el-descriptions-item>
                        <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">本次记录人数</div>
                            </template>
                            <el-form-item prop="Fee_Hand_Over_Number" :rules="[{ required: true, message: '请输入本次上缴人数', trigger: 'change' }]">
                                <el-input-number style="width: 100%; " :min="dataForm1.total1-dataForm1.total2 > 0?1:0 " :max="dataForm1.total1-dataForm1.total2 > 0?dataForm1.total1-dataForm1.total2:0 " controls-position="right" class="borderless-input" v-model="dataForm.Fee_Hand_Over_Number" placeholder="请输入本次上缴人数" />
                            </el-form-item>
                        </el-descriptions-item> -->
                        <!-- <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">上缴党费金额</div>
                            </template>
                            <el-form-item prop="Fee_Hand_Over_Amount" :rules="[{ required: true, message: '请输入上缴党费金额', trigger: 'blur' }]">
                                <el-input v-model="dataForm.Fee_Hand_Over_Amount"  class="borderless-input"
                                    placeholder="请输入上缴党费金额" />
                            </el-form-item>
                        </el-descriptions-item> -->
                    </el-descriptions>
                </el-form>
                <!-- <div id="ChildTable">
                    <div class="table_titel">
                        <div class="titel">上缴党费附件</div>
                    </div>
                    <el-descriptions
                        :data-options="JSON.stringify({ 'TableName': 'party_fees_hand_over_attachment', 'form': 'childDataForm', 'ParentTableName': 'party_fees_hand_over'})"
                        :column="2" size="large" border>
                        <el-descriptions-item>
                            <template #label>
                                <div class="cell-item">附件</div>
                            </template>
                            <yl-upload drag @success="success" @remove="remove" :limit="99" :file="fileList" @progress="progress"></yl-upload>
                        </el-descriptions-item>
                    </el-descriptions>
                </div> -->
            </div>
            
        </div>
        <footer class="botton-ann">
            <el-button @click="goBack">返回</el-button>
            <el-button type="primary" plain @click="handleSubmit" :loading="loading">提交</el-button>
        </footer>
    </div>
</body>
<script src="../../utils/utils.js"></script>
<script src="../../config/config.js"></script>
<script src="../../utils/mixins.js"></script>
<script src="../../yl/vue.js"></script>
<script src="../../yl/index.js"></script>
<script src="../../yl/zh-cn.mjs"></script>
<script src="../../yl/index.iife.min.js"></script>
<script src="../../yl/jquery.min.js"></script>
<script src="../../utils/jquery.cookie.js"></script>
<script src="../../yl/jquery.easyui.min.js"></script>
<script src="../../yl/jquery.easyui.mobile.js"></script>
<script src="../../yl/moment.min.js"></script>
<script src="../../api/request.js"></script>
<script src="./js/add.js"></script>

</html>